#ifndef CONFIGFILE_H
#define CONFIGFILE_H

#include <iostream>
#include <string>
#include <stdio.h>
#include <hash_map>

class ConfigFile
{
public:
	ConfigFile(const std::string &fileName);
	~ConfigFile();

	void Init();
	std::string ReadString(const std::string &name);
	int ReadInt(const std::string &name);

private:
	std::hash_map <std::string, std::string> m_Content;
	std::string m_FileName;
};

#endif
